package com.dz.lm.dao.useragent.read;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.useragent.UserAgent;
import com.dz.lm.domain.useragent.UserAgentExample;

import java.util.List;
import java.util.Map;

@ReaderRepository("readUserAgentDao")
public interface UserAgentDao {


    List<UserAgent> selectByExample(UserAgentExample example) throws DaoException;

    UserAgent selectByPrimaryKey(Integer agentId)throws DaoException;

    int qryAgentRecordCount(Map map) throws DaoException;

    List<Map> qryAgentRecord(Map agentId)throws DaoException;

    List<UserAgent> queryUser(Map map) throws DaoException;
}